﻿using System;
using System.Windows.Controls;
using CardGenerator.ViewModel;

namespace CardGenerator.UI.Pages;

public partial class OprtationPage : UserControl
{
    public OprtationPage()
    {
        InitializeComponent();
    }

    protected override void OnInitialized(EventArgs e)
    {
        base.OnInitialized(e);
        (this.DataContext as OperationPageViewModel)!.Initialize(this);
        // var value = DictionaryBasedDataSource.GetDictionaryDataSource(MyDataGrid);
        // Console.WriteLine(value);
    }
}